package com.API.dal.providers;

import com.API.dal.entities.Employees;
import com.API.dal.entities.Objects;
import com.API.dal.entities.Orders;

import java.util.List;

/**
 * Интерфейс работы с подрядчиками
*/
public interface ContractorProvider {

    void addContractor(Objects contractor);
    void updateContractor(Objects contractor);
    List<Objects> getContractors();
    List<Objects> getProjectContractors(Objects project);
    List<Objects> getProjectContractors(int project_id);
    List<Objects> getProjectContractors(String project_name);
    List<Orders>  getContractorOrders(Objects contractor);
    List<Orders>  getContractorOrders(String contractor_name);
    List<Orders>  getContractorOrders(int contractor_id);


}
